package com.adfframeworks.labs.domain;

import javax.validation.constraints.Max;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

public class Employee {

	public final static int MANAGER = 0;
	public final static int DEVELOPER = 1;
	public final static int TESTER = 2;	
	
	private Integer id;
	
	@NotNull
	@Size(max = 45)
	private String firstName;
	
	@NotNull
	@Size(max = 45)
	private String lastName;

	@NotNull
	@Size(max = 45)
	private String emailAddress;

	@NotNull
	@Size(max = 45)
	private String password;

	@NotNull
	@Max(value=2)
	private Integer type;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getLastName() {
		return lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	public String getEmailAddress() {
		return emailAddress;
	}

	public void setEmailAddress(String emailAddress) {
		this.emailAddress = emailAddress;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}
}
